package com.example.zhujiemian;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public class PersonalCenter extends AppCompatActivity {
    private Button mButton7;
    private Button mButton8;
    private Button mButton9;

    @SuppressLint("MissingInflatedId")
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.person_center);
        mButton7=findViewById(R.id.btn7);
        mButton8=findViewById(R.id.btn8);
        mButton9=findViewById(R.id.btn9);
        mButton7.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(PersonalCenter.this,PersonalInformation.class);
                startActivity(intent);
            }
        });
        mButton8.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(PersonalCenter.this, ChooseCourse.class);
                startActivity(intent);
            }
        });
        mButton9.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(PersonalCenter.this, Setting.class);
                startActivity(intent);
            }
        });
    }
}
